package cn.ds.assets.module.assets.controller.admin.metadataJobCollect.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 元数据管理-元数据采集作业 Excel VO
 *
 * @author admin
 */
@Data
public class BaseMetadataJobCollectExcelVO {

    @ExcelProperty("主键ID")
    private Long id;

    @ExcelProperty("作业名称")
    private String jobName;

    @ExcelProperty("数据源ID,关联assets_metadata_datasource表id字段")
    private Long sourceId;

    @ExcelProperty("执行时间(cron表达式)")
    private String cron;

    @ExcelProperty("单次执行时长上限,单位:秒")
    private Integer timeout;

    @ExcelProperty("作业生效时间")
    private LocalDateTime startTime;

    @ExcelProperty("作业失效时间")
    private LocalDateTime endTime;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("作业编码")
    private String jobCode;

    @ExcelProperty("数据形态,1.指标,2.字段,3.表,4.数据库,5.应用,6.模型")
    private Byte dataForm;

    @ExcelProperty("数据表,data_form字段值为1,2,3时必填")
    private String dataTable;

    @ExcelProperty("项目空间ID,关联assets_project的id字段")
    private Long projectId;

    @ExcelProperty("数据对象,,data_form字段值为1,2时必填")
    private String dataObj;

}
